import request from '@/utils/request'

// 查询培训班分值列表
export function listClass_score(query) {
  return request({
    url: '/system/class_score/list',
    method: 'get',
    params: query
  })
}

// 查询培训班分值详细
export function getClass_score(id) {
  return request({
    url: '/system/class_score/' + id,
    method: 'get'
  })
}

// 新增培训班分值
export function addClass_score(data) {
  return request({
    url: '/system/class_score',
    method: 'post',
    data: data
  })
}

// 修改培训班分值
export function updateClass_score(data) {
  return request({
    url: '/system/class_score',
    method: 'put',
    data: data
  })
}

// 删除培训班分值
export function delClass_score(id) {
  return request({
    url: '/system/class_score/' + id,
    method: 'delete'
  })
}
